home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / X11 / xkb / symbols / hu < prev    next >
Text File  |  2005-01-13  |  13KB  |  337 lines

  1. // Hungarian keyboard symbols for XKB and PC keyboard
  2. //
  3. // (C) 2002 Peter Soos <sp@osb.hu>
  4. //
  5. // Permission is granted to anyone to use, distribute and modify
  6. // this file in any way, provided that the above copyright notice
  7. // is left intact and the author of the modification summarizes
  8. // the changes in this header.
  9. //
  10. // This file is distributed without any expressed or implied warranty.
  11. //
  12. // It describes the differences between a very simple US/ASCII keyboard
  13. // layout and some widely used Hungarian keyboard layouts.
  14. // Tested on Linux with XFree86 3.3.6
  15. //
  16. // $XFree86: xc/programs/xkbcomp/symbols/hu,v 1.7 2002/12/13 04:18:03 dawes Exp $
  17.  
  18.  
  19. // Default layout
  20. default partial
  21. xkb_symbols "default" {
  22.     include "hu(102_qwertz_comma)"
  23. };
  24.  
  25. // Standard layout
  26. partial
  27. xkb_symbols "standard" {
  28.     include "hu(102_qwertz_comma)"
  29. };
  30.  
  31. // Main layouts
  32.  
  33. // 101_qwertz_comma:
  34. // Unicode based 101 key qwertz layout with decimal comma on keypad
  35. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  36. partial
  37. xkb_symbols "101_qwertz_comma" {
  38.     name[Group1] = "Hungarian";
  39.     include "hu(def_uni)"
  40.     include "hu(def_101)"
  41.     include "hu(def_qwertz)"
  42.     include "hu(def_comma)"
  43.     include "hu(def_common)"
  44. };
  45.  
  46. // 101_qwertz_dot:
  47. // Unicode based 101 key qwertz layout with decimal dot on keypad
  48. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  49. partial
  50. xkb_symbols "101_qwertz_dot" {
  51.     name[Group1] = "Hungarian";
  52.     include "hu(def_uni)"
  53.     include "hu(def_101)"
  54.     include "hu(def_qwertz)"
  55.     include "hu(def_dot)"
  56.     include "hu(def_common)"
  57. };
  58.  
  59. // 101_qwerty_comma:
  60. // Unicode based 101 key qwerty layout with decimal comma on keypad
  61. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  62. partial
  63. xkb_symbols "101_qwerty_comma" {
  64.     name[Group1] = "Hungarian";
  65.     include "hu(def_uni)"
  66.     include "hu(def_101)"
  67.     include "hu(def_qwerty)"
  68.     include "hu(def_comma)"
  69.     include "hu(def_common)"
  70. };
  71.  
  72. // 101_qwerty_dot:
  73. // Unicode based 101 key qwerty layout with decimal dot on keypad
  74. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  75. partial
  76. xkb_symbols "101_qwerty_dot" {
  77.     name[Group1] = "Hungarian";
  78.     include "hu(def_uni)"
  79.     include "hu(def_101)"
  80.     include "hu(def_qwerty)"
  81.     include "hu(def_dot)"
  82.     include "hu(def_common)"
  83. };
  84.  
  85. // 102_qwertz_comma:
  86. // Unicode based 102 key qwertz layout with decimal comma on keypad
  87. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  88. partial
  89. xkb_symbols "102_qwertz_comma" {
  90.     name[Group1] = "Hungarian";
  91.     include "hu(def_uni)"
  92.     include "hu(def_102)"
  93.     include "hu(def_qwertz)"
  94.     include "hu(def_comma)"
  95.     include "hu(def_common)"
  96. };
  97.  
  98. // 102_qwertz_dot:
  99. // Unicode based 102 key qwertz layout with decimal dot on keypad
  100. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  101. partial
  102. xkb_symbols "102_qwertz_dot" {
  103.     name[Group1] = "Hungarian";
  104.     include "hu(def_uni)"
  105.     include "hu(def_102)"
  106.     include "hu(def_qwertz)"
  107.     include "hu(def_dot)"
  108.     include "hu(def_common)"
  109. };
  110.  
  111. // 102_qwerty_comma:
  112. // Unicode based 102 key qwerty layout with decimal comma on keypad
  113. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  114. partial
  115. xkb_symbols "102_qwerty_comma" {
  116.     name[Group1] = "Hungarian";
  117.     include "hu(def_uni)"
  118.     include "hu(def_102)"
  119.     include "hu(def_qwerty)"
  120.     include "hu(def_comma)"
  121.     include "hu(def_common)"
  122. };
  123.  
  124. // 102_qwerty_dot:
  125. // Unicode based 102 key qwerty layout with decimal dot on keypad
  126. // You have to set your locale settings (at least LC_CTYPE) to hu_HU.
  127. partial
  128. xkb_symbols "102_qwerty_dot" {
  129.     name[Group1] = "Hungarian";
  130.     include "hu(def_uni)"
  131.     include "hu(def_102)"
  132.     include "hu(def_qwerty)"
  133.     include "hu(def_dot)"
  134.     include "hu(def_common)"
  135. };
  136.  
  137. // Partial layouts
  138.  
  139. // def_uni:
  140. // Unicode based Hungarian keybaord.
  141.  
  142. hidden partial alphanumeric_keys
  143. xkb_symbols "def_uni" {
  144.  
  145.     key <AD07> {        [                u, U                ],
  146.                         [         EuroSign                   ]       };
  147.     key <AC02> {        [                s, S                ],
  148.                         [          dstroke                   ]       };
  149.     key <AC03> {        [                d, D                ],
  150.                         [          Dstroke                   ]       };
  151.     key <AC08> {        [                k, K                ],
  152.                         [          lstroke                   ]       };
  153.     key <AC09> {        [                l, L                ],
  154.                         [          Lstroke                   ]       };
  155.     key <AD11> {        [     odoubleacute, Odoubleacute     ],
  156.                         [         division                   ]       };
  157.     key <BKSL> {        [     udoubleacute, Udoubleacute     ],
  158.                         [         currency                   ]       };
  159. };
  160.  
  161. // def_102:
  162. // The standard Hungarian 102 key layout
  163.  
  164. hidden partial alphanumeric_keys
  165. xkb_symbols "def_102" {
  166.     key <TLDE> {        [                0, section          ],
  167.                         [          notsign                   ]       };
  168. };
  169.  
  170. // def_101:
  171. // An alternative layout for 101 key keyboards
  172.  
  173. hidden partial alphanumeric_keys
  174. xkb_symbols "def_101" {
  175.     key <TLDE> {        [           iacute, Iacute           ],
  176.                         [                0, section          ]       };
  177. };
  178.  
  179. // def_qwertz:
  180. // The standard Hungaryan qwertz layout
  181.  
  182. hidden partial alphanumeric_keys
  183. xkb_symbols "def_qwertz" {
  184.     key <AB01> {        [                y, Y                ],
  185.                         [          greater                   ]       };
  186.     key <AD06> {        [                z, Z                ]       };
  187. };
  188.  
  189. // def_qwerty:
  190. // The qwerty layout for people who familiar with the standard US layout
  191.  
  192. hidden partial alphanumeric_keys
  193. xkb_symbols "def_qwerty" {
  194.     key <AB01> {        [                z, Z                ],
  195.                         [          greater                   ]       };
  196.     key <AD06> {        [                y, Y                ]       };
  197. };
  198.  
  199. // def_comma:
  200. // The Hungarian standard is the comma on the keypad not decimal dot
  201. hidden partial keypad_keys
  202. xkb_symbols "def_comma" {
  203.    key  <KPDL> {        [        KP_Delete, KP_Separator     ]       };
  204. };
  205.  
  206. // def_dot:
  207. // The Hungarian standard is the comma on the keypad not decimal dot,
  208. // but programmers hate it
  209. hidden partial keypad_keys
  210. xkb_symbols "def_dot" {
  211.    key  <KPDL> {        [        KP_Delete, KP_Decimal       ]       };
  212. };
  213.  
  214. // def_common:
  215. // The common part of all Hungarian layout above
  216. hidden partial alphanumeric_keys modifier_keys
  217. xkb_symbols "def_common" {
  218.  
  219.     // Alphanumeric section
  220.     key <AE01> {        [                1, apostrophe       ],
  221.                         [       asciitilde, dead_tilde       ]       };
  222.     key <AE02> {        [                2, quotedbl         ],
  223.                         [       dead_caron, caron            ]       };
  224.     key <AE03> {        [                3, plus             ],
  225.                         [      asciicircum, dead_circumflex  ]       };
  226.     key <AE04> {        [                4, exclam           ],
  227.                         [       dead_breve, breve            ]       };
  228.     key <AE05> {        [                5, percent          ],
  229.                         [   dead_abovering, degree           ]       };
  230.     key <AE06> {        [                6, slash            ],
  231.                         [      dead_ogonek, ogonek           ]       };
  232.     key <AE07> {        [                7, equal            ],
  233.                         [            grave, dead_grave       ]       };
  234.     key <AE08> {        [                8, parenleft        ],
  235.                         [    dead_abovedot, degree           ]       };
  236.     key <AE09> {        [                9, parenright       ],
  237.                         [       dead_acute, acute            ]       };
  238.     key <AE10> {        [       odiaeresis, Odiaeresis       ],
  239.                         [ dead_doubleacute, doubleacute      ]       };
  240.     key <AE11> {        [       udiaeresis, Udiaeresis       ],
  241.                         [   dead_diaeresis, diaeresis        ]       };
  242.     key <AE12> {        [           oacute, Oacute           ],
  243.                         [     dead_cedilla, cedilla          ]       };
  244.  
  245.     key <AD01> {        [                q, Q                ],
  246.                         [        backslash                   ]       };
  247.     key <AD02> {        [                w, W                ],
  248.                         [              bar                   ]       };
  249.     key <AD08> {        [                i, I                ],
  250.                         [           Iacute                   ]       };
  251.     key <AD12> {        [           uacute, Uacute           ],
  252.                         [         multiply                   ]       };
  253.  
  254.     key <AC04> {        [                f, F                ],
  255.                         [      bracketleft                   ]       };
  256.     key <AC05> {        [                g, G                ],
  257.                         [     bracketright                   ]       };
  258.     key <AC07> {        [                j, J                ],
  259.                         [           iacute                   ]       };
  260.     key <AC10> {        [           eacute, Eacute           ],
  261.                         [           dollar                   ]       };
  262.     key <AC11> {        [           aacute, Aacute           ],
  263.                         [           ssharp                   ]       };
  264.  
  265.     key <LSGT> {        [           iacute, Iacute           ],
  266.                         [             less                   ]       };
  267.     key <AB02> {        [                x, X                ],
  268.                         [       numbersign                   ]       };
  269.     key <AB03> {        [                c, C                ],
  270.                         [        ampersand                   ]       };
  271.     key <AB04> {        [                v, V                ],
  272.                         [               at                   ]       };
  273.     key <AB05> {        [                b, B                ],
  274.                         [        braceleft                   ]       };
  275.     key <AB06> {        [                n, N                ],
  276.                         [       braceright                   ]       };
  277.     key <AB07> {        [                m, M                ],
  278.                         [             less                   ]       };
  279.     key <AB08> {        [            comma, question         ],
  280.                         [        semicolon                   ]       };
  281.     key <AB09> {        [           period, colon            ],
  282.                         [          greater                   ]       };
  283.     key <AB10> {        [            minus, underscore       ],
  284.                         [         asterisk                   ]       };
  285.     key <RALT> {        [      Mode_switch, Multi_key        ]       };
  286.     key <LALT> {        [            Alt_L, Meta_L           ]       };
  287.  
  288.     // End alphanumeric section
  289.  
  290.     // begin modifier mappings
  291.     modifier_map Shift  { Shift_L };
  292.     modifier_map Lock   { Caps_Lock };
  293.     modifier_map Control{ Control_L };
  294.     modifier_map Mod3   { Mode_switch };
  295. };
  296.  
  297. partial
  298. xkb_symbols "Sundeadkeys" {
  299.     include "hu(default)" // for consistent naming
  300. };
  301.  
  302. partial
  303. xkb_symbols "sundeadkeys" {
  304.     include "hu(Sundeadkeys)" // for consistent naming
  305. };
  306.  
  307. partial
  308. xkb_symbols "nodeadkeys" {
  309.     // modify the default Hungarian layout to not have any dead keys
  310.     include "hu(default)"
  311.     key <AE01> {        [                1, apostrophe       ],
  312.                         [       asciitilde                   ]       };
  313.     key <AE02> {        [                2, quotedbl         ],
  314.                         [            caron                   ]       };
  315.     key <AE03> {        [                3, plus             ],
  316.                         [      asciicircum                   ]       };
  317.     key <AE04> {        [                4, exclam           ],
  318.                         [            breve                   ]       };
  319.     key <AE05> {        [                5, percent          ],
  320.                         [           degree                   ]       };
  321.     key <AE06> {        [                6, slash            ],
  322.                         [           ogonek                   ]       };
  323.     key <AE07> {        [                7, equal            ],
  324.                         [            grave                   ]       };
  325.     key <AE08> {        [                8, parenleft        ],
  326.                         [         abovedot                   ]       };
  327.     key <AE09> {        [                9, parenright       ],
  328.                         [            acute                   ]       };
  329.     key <AE10> {        [       odiaeresis, Odiaeresis       ],
  330.                         [      doubleacute                   ]       };
  331.     key <AE11> {        [       udiaeresis, Udiaeresis       ],
  332.                         [        diaeresis                   ]       };
  333.     key <AE12> {        [           oacute, Oacute           ],
  334.                         [          cedilla                   ]       };
  335.  
  336. };
  337.